package com.ccdt.tv.smartrecommend;

import com.blankj.utilcode.util.Utils;

public class Constant {
    public static final String KEY_ANY = "KEY_ANY";

    //json文件名称
    public static final String FN_TEMPLATE_INTENT = "template_intent.json";
    public static final String FN_TEMPLATE_RECORD = "template_record.json";

    public static final String CACHE_DIR_PATH = Utils.getApp().getFilesDir().getAbsolutePath() + "/web_cache";

    //SP_key
    public static final String SP_NAME = "config";
    public static final String SP_CA_INFO = "CA_INFO";
    public static final String SP_LIVE_JSON = "LIVE_JSON";

    //包名类名
    public static final String PACKAGE_TIME_SHIFT = "com.ccdt.tv.timeshift";
    public static final String CLASS_TIME_SHIFT = "com.ccdt.tv.timeshift.MainActivity";
    public static final String PACKAGE_DVB_PLAYER = "cn.ccdt.dvbplayer";

    //进入时移参数字段key
    public static final String TIME_SHIFT_KEY_CHANNELID = "channelid";
    public static final String TIME_SHIFT_KEY_SID = "sid";
    public static final String TIME_SHIFT_KEY_PROGNAME = "progname";
    public static final String TIME_SHIFT_KEY_TSID = "tsid";
    public static final String TIME_SHIFT_KEY_TIME = "shift_time";

    //推荐页面类型
    public static final String TYPE_ACTIVE = "type_active";    //活动页面数据类型
    public static final String TYPE_LIVE = "type_live";    //直播数据类型
    public static final String TYPE_OTHER_WEB = "type_other_web";    //其他页面入口
}
